﻿<UserControl x:Class="road2.Views.CarPanel"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid>
        <StackPanel>
            <TextBlock Text="id"/>
            <TextBox Text="{Binding id, Mode=OneWay}"/>
            <TextBlock Text="road"/>
            <TextBox Text="{Binding Path=road.id, Mode=OneWay}"/>
            <TextBlock Text="line"/>
            <TextBox Text="{Binding line, Mode=OneWay}"/>
            <TextBlock Text="distance"/>
            <TextBox Text="{Binding distance, Mode=OneWay}"/>
            <TextBlock Text="speed"/>
            <TextBox Text="{Binding speed, Mode=OneWay}"/>
            <TextBlock Text="acceleration"/>
            <TextBox Text="{Binding acceleration}"/>
            <TextBlock Text="type"/>
            <TextBlock Text="{Binding type, Mode=OneWay}" />
        </StackPanel>
    </Grid>
</UserControl>
